Fix failure to localise xm by preventing cd from writing to stdout
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 22 Jan 2007 17:07:16 +0000 (17:07 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 22 Jan 2007 17:07:16 +0000 (17:07 +0000)
which gets incorrectly captured as a value for the bash for loop.
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/python/Makefile

index 085ac84b5a3c0b6d1e0247080062e93cdba0473a..dfef918cb45131aff5570d38c7424ddc5277032b 100644 (file)
@@ -8,7 +8,7 @@ all: build
 build:
        CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py build
        if which $(MSGFMT) >/dev/null ; then \
-          for file in `cd xen/xm; find messages -name xen-xm.po`; do \
+          for file in `cd ./xen/xm; find messages -name xen-xm.po`; do \
             dest=`echo "build/$$file" | \
                   sed -e 's#xen-xm.po#LC_MESSAGES/xen-xm.mo#'`; \
             mkdir -p `dirname "$$dest"`; \